//引入vue
import Vue from 'vue'
//引入App组建
import App from './App'
//引入emlment组件
import Element from 'element-ui'
//引入element样式
import 'element-ui/lib/theme-chalk/index.css'
//引入vue-router
import VueRouter from 'vue-router'
//引入路由器
import router from './routes/index'
//引入vuex
import store from './store'
import axios from './http'
//应用插件
Vue.use(VueRouter)
Vue.use(Element)
//取消vue提示
Vue.config.productionTip = false
Vue.prototype.$axios = axios
new Vue({
    render: h => h(App),
    router,
    store,
}).$mount('#app')